package com.zhuoyue.system.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.zhuoyue.system.domain.TblDeviceActions;
import com.zhuoyue.system.mapper.TblDeviceActionsMapper;
import com.zhuoyue.system.service.TblDeviceActionsService;

@Service
public class TblDeviceActionsServiceImpl implements TblDeviceActionsService {

    @Resource
    private TblDeviceActionsMapper tblDeviceActionsMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return tblDeviceActionsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TblDeviceActions record) {
        return tblDeviceActionsMapper.insert(record);
    }

    @Override
    public int insertSelective(TblDeviceActions record) {
        return tblDeviceActionsMapper.insertSelective(record);
    }

    @Override
    public TblDeviceActions selectByPrimaryKey(String id) {
        return tblDeviceActionsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TblDeviceActions record) {
        return tblDeviceActionsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TblDeviceActions record) {
        return tblDeviceActionsMapper.updateByPrimaryKey(record);
    }

}
